<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns string describing the last failed DNS lookup attempt</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventbufferevent.free.html">EventBufferEvent::free</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eventbufferevent.getenabled.html">EventBufferEvent::getEnabled</a></div>
 <div class="up"><a href="class.eventbufferevent.html">EventBufferEvent</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="eventbufferevent.getdnserrorstring" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventBufferEvent::getDnsErrorString</h1>
  <p class="verinfo">(PECL event &gt;= 1.2.6-beta)</p><p class="refpurpose"><span class="refname">EventBufferEvent::getDnsErrorString</span> &mdash; <span class="dc-title">Returns string describing the last failed DNS lookup attempt</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventbufferevent.getdnserrorstring-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="type">string</span> 
   <span class="methodname"><strong>EventBufferEvent::getDnsErrorString</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Returns string describing the last failed DNS lookup attempt made by
   <span class="methodname"><a href="eventbufferevent.connecthost.html" class="methodname">EventBufferEvent::connectHost()</a></span>
   , or an empty string, if there is no DNS error detected.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventbufferevent.getdnserrorstring-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventbufferevent.getdnserrorstring-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a string describing DNS lookup error, or an empty string for no
   error.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-eventbufferevent.getdnserrorstring-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member">
    <span class="methodname"><a href="eventbufferevent.connecthost.html" class="methodname" rel="rdfs-seeAlso">EventBufferEvent::connectHost()</a> - Connects to a hostname with optionally asyncronous DNS resolving</span>
   </li>
  </ul>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventbufferevent.free.html">EventBufferEvent::free</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eventbufferevent.getenabled.html">EventBufferEvent::getEnabled</a></div>
 <div class="up"><a href="class.eventbufferevent.html">EventBufferEvent</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
